.class Lcom/htc/android/footprints/activity/PostcardActivity$7;
.super Landroid/os/Handler;
.source "PostcardActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/activity/PostcardActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/PostcardActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/PostcardActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1081
    iput-object p1, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .parameter "message"

    .prologue
    const/4 v4, 0x0

    .line 1083
    iget v2, p1, Landroid/os/Message;->what:I

    packed-switch v2, :pswitch_data_0

    .line 1134
    :cond_0
    :goto_0
    return-void

    .line 1085
    :pswitch_0
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-virtual {v2, v4}, Lcom/htc/android/footprints/activity/PostcardActivity;->showDialog(I)V

    goto :goto_0

    .line 1089
    :pswitch_1
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$400(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/app/ProgressDialog;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$400(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/app/ProgressDialog;

    move-result-object v2

    invoke-virtual {v2}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 1091
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$400(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/app/ProgressDialog;

    move-result-object v2

    invoke-virtual {v2}, Landroid/app/ProgressDialog;->dismiss()V

    goto :goto_0

    .line 1096
    :pswitch_2
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mFootprintTitle:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$500(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/widget/TextView;

    move-result-object v2

    iget-object v3, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$200(Lcom/htc/android/footprints/activity/PostcardActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v3

    iget-object v3, v3, Lcom/htc/android/footprints/vo/Footprint;->mName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 1100
    :pswitch_3
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v3, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mFixLocation:Landroid/location/Location;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$600(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/location/Location;

    move-result-object v3

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->geocoderTitle(Landroid/location/Location;)V
    invoke-static {v2, v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$700(Lcom/htc/android/footprints/activity/PostcardActivity;Landroid/location/Location;)V

    goto :goto_0

    .line 1104
    :pswitch_4
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    iget-object v3, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mFixNetwork:Landroid/location/Location;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$800(Lcom/htc/android/footprints/activity/PostcardActivity;)Landroid/location/Location;

    move-result-object v3

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->geocoderTitle(Landroid/location/Location;)V
    invoke-static {v2, v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$700(Lcom/htc/android/footprints/activity/PostcardActivity;Landroid/location/Location;)V

    goto :goto_0

    .line 1108
    :pswitch_5
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->updateToFootprint()V
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$900(Lcom/htc/android/footprints/activity/PostcardActivity;)V

    .line 1109
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->updateAccuracyToIndicator()V
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1000(Lcom/htc/android/footprints/activity/PostcardActivity;)V

    .line 1110
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #calls: Lcom/htc/android/footprints/activity/PostcardActivity;->setLocationText()V
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1100(Lcom/htc/android/footprints/activity/PostcardActivity;)V

    goto :goto_0

    .line 1114
    :pswitch_6
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-static {v2}, Lcom/htc/android/footprints/utils/SettingInfo;->getInstance(Landroid/content/Context;)Lcom/htc/android/footprints/utils/SettingInfo;

    move-result-object v1

    .line 1115
    .local v1, setting:Lcom/htc/android/footprints/utils/SettingInfo;
    invoke-virtual {v1}, Lcom/htc/android/footprints/utils/SettingInfo;->isFirstRetrieveAddress()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 1116
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->showDialog(I)V

    .line 1117
    invoke-virtual {v1, v4}, Lcom/htc/android/footprints/utils/SettingInfo;->setFirstRetrieveAddress(Z)V

    goto :goto_0

    .line 1122
    .end local v1           #setting:Lcom/htc/android/footprints/utils/SettingInfo;
    :pswitch_7
    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    const-class v3, Lcom/htc/android/footprints/activity/FootprintCamera;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1123
    .local v0, intent:Landroid/content/Intent;
    const-string v2, "LAUNCH_BY_WIDGET"

    iget-object v3, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->isLanuchByWidget:Z
    invoke-static {v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1200(Lcom/htc/android/footprints/activity/PostcardActivity;)Z

    move-result v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1125
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mSelectedCategory:Lcom/htc/android/footprints/vo/Category;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1300(Lcom/htc/android/footprints/activity/PostcardActivity;)Lcom/htc/android/footprints/vo/Category;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 1127
    const-string v2, "CATEGORY"

    iget-object v3, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    #getter for: Lcom/htc/android/footprints/activity/PostcardActivity;->mSelectedCategory:Lcom/htc/android/footprints/vo/Category;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/PostcardActivity;->access$1300(Lcom/htc/android/footprints/activity/PostcardActivity;)Lcom/htc/android/footprints/vo/Category;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 1130
    :cond_1
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-virtual {v2, v0}, Lcom/htc/android/footprints/activity/PostcardActivity;->startActivity(Landroid/content/Intent;)V

    .line 1131
    iget-object v2, p0, Lcom/htc/android/footprints/activity/PostcardActivity$7;->this$0:Lcom/htc/android/footprints/activity/PostcardActivity;

    invoke-virtual {v2}, Lcom/htc/android/footprints/activity/PostcardActivity;->finish()V

    goto/16 :goto_0

    .line 1083
    :pswitch_data_0
    .packed-switch 0x32
        :pswitch_0
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_1
        :pswitch_6
        :pswitch_7
    .end packed-switch
.end method
